let fs = require('fs');
let path = require('path');

let url = path.resolve(__dirname,'../../视频/2-path模块.mp4');
let url2 = path.resolve(__dirname,'777.mp4');
let ws = fs.createWriteStream(url2);
let rs = fs.createReadStream(url);


// 执行从url读取 写入到 url2中

//管道传送
rs.pipe(ws);
